/**
 * 商户黑名单表 api 封装
 *
 * @Author:    zzb
 * @Date:      2025-01-23 04:08:27
 */
import { postRequest, getRequest } from '/@/lib/axios'

export const merchantBlacklistApi = {
  /**
   * 分页查询  @author  zzb
   */
  queryPage: (param) => {
    return postRequest('/b-operation/merchant_blacklist/page', param)
  },
  /**
   * 分页查询非黑名单商户  @author  zzb
   */
  queryPageMerchant: (param) => {
    return postRequest('/b-operation/merchant_blacklist/page_merchant', param)
  },

  /**
   * 增加  @author  zzb
   */
  add: (param) => {
    return postRequest('/b-operation/merchant_blacklist/insert', param)
  },

  /**
   * 删除  @author  zzb
   */
  delete: (param) => {
    return postRequest(`/b-operation/merchant_blacklist/delete`, param)
  },
}
